﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Optimization;
using UA.Framework;

namespace UA.Web.Configs
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new StyleBundle("~/b/css").Include(
                "~/Content/jquery-easyui-1.4/themes/default/easyui.css",
                "~/Content/jquery-easyui-1.4/themes/icon.css"
                ));

            bundles.Add(new ScriptBundle("~/b/js").Include(
                "~/Scripts/jquery/jquery-1.11.1.js",
                "~/Content/jquery-easyui-1.4/jquery.easyui.min.js",
                "~/Content/jquery-easyui-1.4/locale/easyui-lang-zh_CN.js"
                ));


            BundleTable.EnableOptimizations = SystemEnvironment.EnableOptimizations;
        }
    }
}
